﻿using System;

namespace LD.Tool
{
    public partial class ToolEventBusFrm : FrmToolBase
    {
        public ToolEventBusFrm()
        {
            InitializeComponent();
            this.btn_ok.Click += Btn_ok_Click;
            this.Shown += FrmTaskTool_Shown;
        }

        private void FrmTaskTool_Shown(object sender, EventArgs e)
        {
            Init();
        }

        private void Btn_ok_Click(object sender, EventArgs e)
        {
            this.TB_Tool.Param = this.txt_msg.Text ;
            this.Close();
        }
        private void Init()
        {
            this.txt_msg.Text = this.TB_Tool.Param;
        }

    }
}
